package com.hefei.aop.controller;

import com.hefei.aop.aop.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author caizhengjun
 * @date 2020/9/5 4:10 下午
 */
@RestController
public class TestController {

    @Autowired
    private UserDao userDao;

    @GetMapping("/test")
    public void test() {
        this.userDao.updateUser();
    }
}
